import request from '../utils/request.js'

export const getSimpleUserInfo = data => {
  return request.get('/v1_0/user/profile')
}
export const getUserInfo = data => {
  return request.get('/v1_0/user')
}

export const updataUserInfo = obj => {
  return request.patch('/v1_0/user/profile', obj)
}
